package me.helllp.dake.iam.core.auth;

import me.helllp.dake.iam.core.bean.DakeAuthTicket;

public class TokenAuthFilter implements AuthFilter {
    @Override
    public boolean doFilter(DakeAuthTicket authTicket) {
        String authToken = authTicket.getAuthToken();
        // TODO 验证authToken是否为一个合法凭证，需要缓存
        return true;
    }

    @Override
    public void postFilter(DakeAuthTicket authTicket) {

    }

}
